<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>周末户外徒步 - 担保交友详情 - 安全社交平台</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <!-- 图片查看器 -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/css/lightbox.min.css">
    
    <style>
        :root {
            --primary-color: #2563eb;
            --secondary-color: #4f46e5;
            --success-color: #10b981;
            --warning-color: #f59e0b;
            --danger-color: #ef4444;
            --light-bg: #f8fafc;
            --dark-text: #1e293b;
            --light-text: #64748b;
            --border-color: #e2e8f0;
        }
        
        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            background-color: var(--light-bg);
            color: var(--dark-text);
            line-height: 1.6;
        }
        
        .navbar {
            background-color: var(--primary-color);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .badge-secured {
            background-color: rgba(16, 185, 129, 0.1);
            color: var(--success-color);
            border: 1px solid var(--success-color);
        }
        
        .card {
            border: 1px solid var(--border-color);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }
        
        .card:hover {
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }
        
        .stat-item {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--light-text);
        }
        
        .stat-item i {
            color: var(--primary-color);
        }
        
        .author-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .author-avatar {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid white;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
        
        .image-gallery {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
            margin-bottom: 1rem;
        }
        
        .image-gallery img {
            width: 100%;
            height: 120px;
            object-fit: cover;
            border-radius: 6px;
            cursor: pointer;
            transition: transform 0.2s ease;
        }
        
        .image-gallery img:hover {
            transform: scale(1.03);
        }
        
        .main-image {
            width: 100%;
            height: 400px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 1rem;
        }
        
        .action-btn {
            transition: all 0.2s ease;
        }
        
        .action-btn:hover {
            transform: translateY(-2px);
        }
        
        .like-btn.active {
            color: var(--danger-color);
        }
        
        .save-btn.active {
            color: var(--primary-color);
        }
        
        .section-title {
            position: relative;
            display: inline-block;
            margin-bottom: 1.5rem;
            font-weight: 600;
            padding-bottom: 8px;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 3px;
            background-color: var(--primary-color);
        }
        
        .detail-info {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 1rem;
        }
        
        .detail-info i {
            color: var(--primary-color);
            margin-top: 4px;
            flex-shrink: 0;
        }
        
        .detail-content {
            flex-grow: 1;
        }
        
        .participant-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid white;
        }
        
        .participant-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .participant-more {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: var(--light-bg);
            border: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            color: var(--light-text);
        }
        
        .tag {
            display: inline-block;
            background-color: rgba(37, 99, 235, 0.1);
            color: var(--primary-color);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.875rem;
            margin-right: 0.5rem;
            margin-bottom: 0.5rem;
        }
        
        .message-item {
            padding: 1rem 0;
            border-bottom: 1px solid var(--border-color);
        }
        
        .message-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }
        
        .message-author {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .message-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .message-time {
            font-size: 0.8rem;
            color: var(--light-text);
        }
        
        .message-content {
            margin-bottom: 0.5rem;
        }
        
        .message-actions {
            display: flex;
            gap: 1.5rem;
            font-size: 0.875rem;
        }
        
        .message-action {
            display: flex;
            align-items: center;
            gap: 4px;
            color: var(--light-text);
            cursor: pointer;
            transition: color 0.2s ease;
        }
        
        .message-action:hover {
            color: var(--primary-color);
        }
        
        .reply-form {
            margin-top: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .reply-item {
            margin-left: 2rem;
            padding: 0.75rem;
            background-color: rgba(37, 99, 235, 0.03);
            border-radius: 6px;
            margin-bottom: 1rem;
        }
        
        .reply-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }
        
        .report-modal .modal-body {
            max-height: 70vh;
            overflow-y: auto;
        }
        
        .safety-tips {
            background-color: rgba(16, 185, 129, 0.1);
            border-left: 4px solid var(--success-color);
            padding: 1rem;
            border-radius: 0 6px 6px 0;
            margin-bottom: 1.5rem;
        }
        
        .related-activity {
            transition: transform 0.3s ease;
        }
        
        .related-activity:hover {
            transform: translateY(-5px);
        }
        
        .related-activity img {
            height: 140px;
            object-fit: cover;
        }
        
        @media (max-width: 768px) {
            .main-image {
                height: 250px;
            }
            
            .image-gallery {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .image-gallery img {
                height: 100px;
            }
            
            .action-buttons {
                flex-wrap: wrap;
            }
            
            .action-buttons .btn {
                flex: 1 1 45%;
                margin-bottom: 0.5rem;
            }
        }
        
        @media (max-width: 576px) {
            .image-gallery {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .action-buttons .btn {
                flex: 1 1 100%;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg navbar-dark">
        <div class="container">
            <a class="navbar-brand d-flex align-items-center gap-2" href="#">
                <i class="fas fa-shield-alt"></i>
                <span>安全社交</span>
            </a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav me-auto">
                    <li class="nav-item">
                        <a class="nav-link" href="#">首页</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="#">担保交友</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">兴趣群组</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">活动推荐</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">安全指南</a>
                    </li>
                </ul>
                <div class="d-flex align-items-center gap-3">
                    <div class="position-relative">
                        <button class="btn btn-outline-light">
                            <i class="fas fa-bell"></i>
                        </button>
                        <span class="position-absolute top-0 right-0 translate-middle badge rounded-circle bg-danger">3</span>
                    </div>
                    <div class="dropdown">
                        <button class="btn btn-secondary dropdown-toggle rounded-circle" type="button" data-bs-toggle="dropdown">
                            <img src="https://picsum.photos/id/64/40/40" alt="用户头像" width="36" height="36" class="rounded-circle">
                        </button>
                        <ul class="dropdown-menu dropdown-menu-end">
                            <li><a class="dropdown-item" href="#">个人中心</a></li>
                            <li><a class="dropdown-item" href="#">我的好友</a></li>
                            <li><a class="dropdown-item" href="#">我的参与</a></li>
                            <li><hr class="dropdown-divider"></li>
                            <li><a class="dropdown-item" href="#">退出登录</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </nav>

    <!-- 主要内容 -->
    <div class="container py-6">
        <!-- 面包屑导航 -->
        <nav aria-label="breadcrumb" class="mb-4">
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="#" class="text-decoration-none text-light-text">首页</a></li>
                <li class="breadcrumb-item"><a href="#" class="text-decoration-none text-light-text">担保交友</a></li>
                <li class="breadcrumb-item"><a href="#" class="text-decoration-none text-light-text">户外活动</a></li>
                <li class="breadcrumb-item active" aria-current="page">周末户外徒步</li>
            </ol>
        </nav>
        
        <div class="row">
            <!-- 左侧内容区 -->
            <div class="col-lg-8">
                <!-- 活动标题 -->
                <h1 class="mb-3">周末户外徒步，认识自然爱好者</h1>
                
                <!-- 活动标签和状态 -->
                <div class="d-flex flex-wrap align-items-center gap-2 mb-4">
                    <span class="badge badge-secured">
                        <i class="fas fa-check-circle me-1"></i> 官方认证
                    </span>
                    <span class="badge bg-light text-dark">户外活动</span>
                    <span class="badge bg-light text-dark">徒步</span>
                    <span class="badge bg-light text-dark">上海</span>
                    <span class="badge bg-success text-white">免费</span>
                    <span class="text-light-text ms-auto">
                        <i class="far fa-eye me-1"></i> 已浏览 356 次
                    </span>
                </div>
                
                <!-- 活动图片 -->
                <div class="mb-6">
                    <img src="https://picsum.photos/id/1027/1200/600" alt="周末户外徒步活动主图" class="main-image" id="mainImage">
                    <div class="image-gallery">
                        <img src="https://picsum.photos/id/1027/300/300" alt="徒步活动图片1" class="gallery-img active" data-img="https://picsum.photos/id/1027/1200/600">
                        <img src="https://picsum.photos/id/1036/300/300" alt="徒步活动图片2" class="gallery-img" data-img="https://picsum.photos/id/1036/1200/600">
                        <img src="https://picsum.photos/id/1039/300/300" alt="徒步活动图片3" class="gallery-img" data-img="https://picsum.photos/id/1039/1200/600">
                        <img src="https://picsum.photos/id/1043/300/300" alt="徒步活动图片4" class="gallery-img" data-img="https://picsum.photos/id/1043/1200/600">
                    </div>
                </div>
                
                <!-- 活动详情 -->
                <div class="card mb-6">
                    <div class="card-body">
                        <h3 class="section-title">活动详情</h3>
                        <p class="mb-4">
                            这是一次适合新手参与的城市周边徒步活动，我们将探索风景优美的自然步道，全程约8公里，难度适中。活动由经验丰富的专业向导带领，沿途将介绍各种植物和地理知识。
                        </p>
                        <p class="mb-4">
                            无论你是独自前来还是与朋友一起，都能在这里认识到更多热爱自然和户外活动的朋友。我们强调安全第一，所有参与者需遵守向导的指示，共同维护良好的户外环境。
                        </p>
                        
                        <div class="mb-4">
                            <h5 class="fw-semibold mb-2">活动亮点：</h5>
                            <ul class="list-group list-group-flush">
                                <li class="list-group-item d-flex align-items-start gap-2">
                                    <i class="fas fa-leaf text-success mt-1"></i>
                                    <span>认识多种本地植物和鸟类</span>
                                </li>
                                <li class="list-group-item d-flex align-items-start gap-2">
                                    <i class="fas fa-users text-primary mt-1"></i>
                                    <span>结交志同道合的户外活动爱好者</span>
                                </li>
                                <li class="list-group-item d-flex align-items-start gap-2">
                                    <i class="fas fa-compass text-warning mt-1"></i>
                                    <span>专业向导带队，学习户外知识</span>
                                </li>
                                <li class="list-group-item d-flex align-items-start gap-2">
                                    <i class="fas fa-camera text-secondary mt-1"></i>
                                    <span>风景优美，适合摄影爱好者</span>
                                </li>
                            </ul>
                        </div>
                        
                        <div class="mb-4">
                            <h5 class="fw-semibold mb-2">活动安排：</h5>
                            <ul class="list-group list-group-flush">
                                <li class="list-group-item d-flex align-items-start gap-2">
                                    <i class="fas fa-clock text-primary mt-1"></i>
                                    <div>
                                        <strong>08:30</strong> - 集合点签到，互相认识
                                    </div>
                                </li>
                                <li class="list-group-item d-flex align-items-start gap-2">
                                    <i class="fas fa-clock text-primary mt-1"></i>
                                    <div>
                                        <strong>09:00</strong> - 出发，向导介绍路线和注意事项
                                    </div>
                                </li>
                                <li class="list-group-item d-flex align-items-start gap-2">
                                    <i class="fas fa-clock text-primary mt-1"></i>
                                    <div>
                                        <strong>12:00</strong> - 中途休息，分享午餐（自备）
                                    </div>
                                </li>
                                <li class="list-group-item d-flex align-items-start gap-2">
                                    <i class="fas fa-clock text-primary mt-1"></i>
                                    <div>
                                        <strong>16:00</strong> - 到达终点，活动结束
                                    </div>
                                </li>
                            </ul>
                        </div>
                        
                        <div class="mb-4">
                            <h5 class="fw-semibold mb-2">参与须知：</h5>
                            <ul class="list-group list-group-flush">
                                <li class="list-group-item d-flex align-items-start gap-2">
                                    <i class="fas fa-exclamation-circle text-warning mt-1"></i>
                                    <span>请穿着舒适的运动鞋和户外服装</span>
                                </li>
                                <li class="list-group-item d-flex align-items-start gap-2">
                                    <i class="fas fa-exclamation-circle text-warning mt-1"></i>
                                    <span>请自备饮用水和午餐</span>
                                </li>
                                <li class="list-group-item d-flex align-items-start gap-2">
                                    <i class="fas fa-exclamation-circle text-warning mt-1"></i>
                                    <span>建议携带防晒用品、帽子和雨具（以防天气变化）</span>
                                </li>
                                <li class="list-group-item d-flex align-items-start gap-2">
                                    <i class="fas fa-exclamation-circle text-warning mt-1"></i>
                                    <span>活动前一天会通过短信确认最终集合信息</span>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
                
                <!-- 活动信息 -->
                <div class="card mb-6">
                    <div class="card-body">
                        <h3 class="section-title">活动信息</h3>
                        
                        <div class="row">
                            <div class="col-md-6">
                                <div class="detail-info">
                                    <i class="fas fa-calendar-alt fa-lg"></i>
                                    <div class="detail-content">
                                        <strong>活动日期</strong>
                                        <p>2023年6月10日（周六）</p>
                                    </div>
                                </div>
                                
                                <div class="detail-info">
                                    <i class="fas fa-clock fa-lg"></i>
                                    <div class="detail-content">
                                        <strong>活动时间</strong>
                                        <p>08:30 - 16:00</p>
                                    </div>
                                </div>
                                
                                <div class="detail-info">
                                    <i class="fas fa-map-marker-alt fa-lg"></i>
                                    <div class="detail-content">
                                        <strong>集合地点</strong>
                                        <p>上海市松江区佘山国家森林公园东佘山园门口</p>
                                        <button class="btn btn-sm btn-outline-primary mt-1">
                                            <i class="fas fa-map me-1"></i>查看地图
                                        </button>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="col-md-6">
                                <div class="detail-info">
                                    <i class="fas fa-users fa-lg"></i>
                                    <div class="detail-content">
                                        <strong>参与人数</strong>
                                        <p>已报名 18 人 / 限 30 人</p>
                                    </div>
                                </div>
                                
                                <div class="detail-info">
                                    <i class="fas fa-money-bill-wave fa-lg"></i>
                                    <div class="detail-content">
                                        <strong>活动费用</strong>
                                        <p>免费（个人消费自理）</p>
                                    </div>
                                </div>
                                
                                <div class="detail-info">
                                    <i class="fas fa-shield-alt fa-lg"></i>
                                    <div class="detail-content">
                                        <strong>安全保障</strong>
                                        <p>专业向导、急救设备、保险 coverage</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 参与者列表 -->
                <div class="card mb-6">
                    <div class="card-body">
                        <h3 class="section-title">已确认参与者</h3>
                        
                        <div class="participant-list mb-3">
                            <img src="https://picsum.photos/id/1012/36/36" alt="参与者头像" class="participant-avatar" title="李明（组织者）">
                            <img src="https://picsum.photos/id/1027/36/36" alt="参与者头像" class="participant-avatar" title="张雨晴">
                            <img src="https://picsum.photos/id/1025/36/36" alt="参与者头像" class="participant-avatar" title="王文静">
                            <img src="https://picsum.photos/id/1074/36/36" alt="参与者头像" class="participant-avatar" title="刘阳">
                            <img src="https://picsum.photos/id/1066/36/36" alt="参与者头像" class="participant-avatar" title="陈小明">
                            <img src="https://picsum.photos/id/1062/36/36" alt="参与者头像" class="participant-avatar" title="赵自然">
                            <div class="participant-more" title="查看全部参与者">+12</div>
                        </div>
                        
                        <button class="btn btn-outline-primary btn-sm">
                            <i class="fas fa-eye me-1"></i>查看全部参与者
                        </button>
                    </div>
                </div>
                
                <!-- 留言区 -->
                <div class="card mb-6">
                    <div class="card-body">
                        <h3 class="section-title">留言讨论 (24)</h3>
                        
                        <!-- 留言输入框 -->
                        <div class="mb-6">
                            <div class="d-flex gap-3">
                                <img src="https://picsum.photos/id/64/48/48" alt="你的头像" class="message-avatar">
                                <div class="flex-grow-1">
                                    <textarea class="form-control mb-2" rows="3" placeholder="分享你的想法或提问..."></textarea>
                                    <button class="btn btn-primary">
                                        <i class="fas fa-paper-plane me-1"></i>发送留言
                                    </button>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 留言列表 -->
                        <div class="message-list">
                            <!-- 留言1 -->
                            <div class="message-item">
                                <div class="message-header">
                                    <div class="message-author">
                                        <img src="https://picsum.photos/id/1025/40/40" alt="留言者头像" class="message-avatar">
                                        <div>
                                            <strong>王文静</strong>
                                            <div class="text-xs text-light-text">已认证 · 摄影爱好者</div>
                                        </div>
                                    </div>
                                    <div class="message-time">2023-06-01 14:32</div>
                                </div>
                                <div class="message-content">
                                    <p>请问需要准备哪些装备？第一次参加这样的活动，不太清楚需要带什么东西。</p>
                                </div>
                                <div class="message-actions">
                                    <div class="message-action">
                                        <i class="far fa-thumbs-up"></i> 12
                                    </div>
                                    <div class="message-action reply-toggle">
                                        <i class="far fa-comment"></i> 回复
                                    </div>
                                </div>
                                
                                <!-- 回复框 -->
                                <div class="reply-form d-none">
                                    <div class="d-flex gap-2">
                                        <img src="https://picsum.photos/id/64/32/32" alt="你的头像" class="message-avatar" style="width: 32px; height: 32px;">
                                        <div class="flex-grow-1">
                                            <textarea class="form-control mb-2" rows="2" placeholder="回复 @王文静..."></textarea>
                                            <button class="btn btn-primary btn-sm">回复</button>
                                            <button class="btn btn-outline-secondary btn-sm ms-2 cancel-reply">取消</button>
                                        </div>
                                    </div>
                                </div>
                                
                                <!-- 回复列表 -->
                                <div class="replies">
                                    <div class="reply-item">
                                        <div class="reply-header">
                                            <div class="message-author">
                                                <img src="https://picsum.photos/id/1012/32/32" alt="回复者头像" class="message-avatar" style="width: 32px; height: 32px;">
                                                <div>
                                                    <strong>李明</strong>
                                                    <div class="text-xs text-light-text">组织者</div>
                                                </div>
                                            </div>
                                            <div class="message-time">2023-06-01 15:05</div>
                                        </div>
                                        <div class="message-content">
                                            <p>@王文静 你好！需要准备舒适的运动鞋、户外服装、饮用水（至少1.5L）、午餐和防晒用品。如果有登山杖也可以带上，没有也没关系。</p>
                                        </div>
                                        <div class="message-actions">
                                            <div class="message-action">
                                                <i class="far fa-thumbs-up"></i> 5
                                            </div>
                                            <div class="message-action reply-toggle">
                                                <i class="far fa-comment"></i> 回复
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 留言2 -->
                            <div class="message-item">
                                <div class="message-header">
                                    <div class="message-author">
                                        <img src="https://picsum.photos/id/1074/40/40" alt="留言者头像" class="message-avatar">
                                        <div>
                                            <strong>刘阳</strong>
                                            <div class="text-xs text-light-text">已认证 · 户外运动爱好者</div>
                                        </div>
                                    </div>
                                    <div class="message-time">2023-06-01 10:25</div>
                                </div>
                                <div class="message-content">
                                    <p>这条路线我走过一次，风景非常好，特别是中途的溪流区域，拍照很出片。建议大家可以带上相机，记录美好瞬间。</p>
                                </div>
                                <div class="message-actions">
                                    <div class="message-action">
                                        <i class="far fa-thumbs-up"></i> 23
                                    </div>
                                    <div class="message-action reply-toggle">
                                        <i class="far fa-comment"></i> 回复
                                    </div>
                                </div>
                                
                                <!-- 回复框 -->
                                <div class="reply-form d-none">
                                    <div class="d-flex gap-2">
                                        <img src="https://picsum.photos/id/64/32/32" alt="你的头像" class="message-avatar" style="width: 32px; height: 32px;">
                                        <div class="flex-grow-1">
                                            <textarea class="form-control mb-2" rows="2" placeholder="回复 @刘阳..."></textarea>
                                            <button class="btn btn-primary btn-sm">回复</button>
                                            <button class="btn btn-outline-secondary btn-sm ms-2 cancel-reply">取消</button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 留言3 -->
                            <div class="message-item">
                                <div class="message-header">
                                    <div class="message-author">
                                        <img src="https://picsum.photos/id/1066/40/40" alt="留言者头像" class="message-avatar">
                                        <div>
                                            <strong>陈小明</strong>
                                            <div class="text-xs text-light-text">已认证 · 学生</div>
                                        </div>
                                    </div>
                                    <div class="message-time">2023-05-31 18:47</div>
                                </div>
                                <div class="message-content">
                                    <p>请问集合点附近好停车吗？我打算自驾过去。</p>
                                </div>
                                <div class="message-actions">
                                    <div class="message-action">
                                        <i class="far fa-thumbs-up"></i> 8
                                    </div>
                                    <div class="message-action reply-toggle">
                                        <i class="far fa-comment"></i> 回复
                                    </div>
                                </div>
                                
                                <!-- 回复框 -->
                                <div class="reply-form d-none">
                                    <div class="d-flex gap-2">
                                        <img src="https://picsum.photos/id/64/32/32" alt="你的头像" class="message-avatar" style="width: 32px; height: 32px;">
                                        <div class="flex-grow-1">
                                            <textarea class="form-control mb-2" rows="2" placeholder="回复 @陈小明..."></textarea>
                                            <button class="btn btn-primary btn-sm">回复</button>
                                            <button class="btn btn-outline-secondary btn-sm ms-2 cancel-reply">取消</button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 加载更多留言 -->
                        <button class="btn btn-outline-primary w-100 mt-4">
                            <i class="fas fa-history me-1"></i>加载更多留言
                        </button>
                    </div>
                </div>
                
                <!-- 相关活动推荐 -->
                <div>
                    <h3 class="section-title">相关活动推荐</h3>
                    <div class="row g-4">
                        <div class="col-md-6">
                            <div class="card related-activity">
                                <img src="https://picsum.photos/id/1058/600/400" alt="城市骑行活动" class="card-img-top">
                                <div class="card-body">
                                    <h5 class="card-title mb-2">城市骑行探索，发现上海之美</h5>
                                    <p class="card-text text-sm text-light-text mb-2 line-clamp-2">
                                        沿黄浦江骑行，欣赏城市风光，适合有基础骑行经验的朋友。
                                    </p>
                                    <div class="d-flex justify-content-between align-items-center">
                                        <span class="badge bg-warning text-white text-xs">AA制</span>
                                        <span class="text-sm text-light-text">6月17日</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="card related-activity">
                                <img src="https://picsum.photos/id/1062/600/400" alt="自然观察活动" class="card-img-top">
                                <div class="card-body">
                                    <h5 class="card-title mb-2">公园自然观察小组，认识植物鸟类</h5>
                                    <p class="card-text text-sm text-light-text mb-2 line-clamp-2">
                                        由植物学专业人士带领，认识公园中的动植物，适合亲子参与。
                                    </p>
                                    <div class="d-flex justify-content-between align-items-center">
                                        <span class="badge bg-success text-white text-xs">免费</span>
                                        <span class="text-sm text-light-text">6月11日</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 右侧边栏 -->
            <div class="col-lg-4">
                <!-- 组织者信息 -->
                <div class="card mb-6">
                    <div class="card-body">
                        <h3 class="section-title">组织者信息</h3>
                        
                        <div class="author-info mb-4">
                            <img src="https://picsum.photos/id/1012/56/56" alt="组织者李明的头像" class="author-avatar">
                            <div>
                                <h5 class="mb-0">李明</h5>
                                <div class="d-flex items-center gap-1 mb-1">
                                    <span class="rating-stars">★★★★★</span>
                                    <span class="text-sm text-light-text">(4.9)</span>
                                </div>
                                <div class="d-flex flex-wrap gap-1">
                                    <span class="badge bg-light text-dark text-xs">官方认证</span>
                                    <span class="badge bg-light text-dark text-xs">户外领队</span>
                                    <span class="badge bg-light text-dark text-xs">组织过42场活动</span>
                                </div>
                            </div>
                        </div>
                        
                        <p class="text-sm text-light-text mb-4">
                            资深户外爱好者，拥有8年徒步领队经验，持有国家认证的户外指导员证书，熟悉上海及周边多条徒步路线。
                        </p>
                        
                        <div class="d-flex gap-2 mb-3">
                            <button class="btn btn-outline-primary flex-grow-1">
                                <i class="fas fa-user-plus me-1"></i>关注
                            </button>
                            <button class="btn btn-primary flex-grow-1">
                                <i class="fas fa-comment me-1"></i>私信
                            </button>
                        </div>
                        
                        <button class="btn btn-outline-secondary w-100">
                            <i class="fas fa-history me-1"></i>查看组织者其他活动
                        </button>
                    </div>
                </div>
                
                <!-- 活动操作按钮 -->
                <div class="card mb-6">
                    <div class="card-body">
                        <div class="d-flex flex-column gap-3 action-buttons">
                            <button class="btn btn-success fs-5 py-3">
                                <i class="fas fa-check-circle me-2"></i>我要参加
                            </button>
                            <button class="btn btn-outline-primary fs-5 py-3">
                                <i class="fas fa-share-alt me-2"></i>分享活动
                            </button>
                            <div class="d-flex gap-3">
                                <button class="btn btn-outline-secondary flex-grow-1 like-btn">
                                    <i class="far fa-heart me-1"></i>收藏
                                </button>
                                <button class="btn btn-outline-secondary flex-grow-1" data-bs-toggle="modal" data-bs-target="#reportModal">
                                    <i class="fas fa-flag me-1"></i>举报
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 安全提示 -->
                <div class="safety-tips mb-6">
                    <h5 class="d-flex align-items-center gap-2 mb-2">
                        <i class="fas fa-shield-alt text-success"></i>
                        <span>安全提示</span>
                    </h5>
                    <ul class="text-sm text-light-text list-unstyled">
                        <li class="mb-2 d-flex align-items-start gap-2">
                            <i class="fas fa-check-circle text-success mt-1"></i>
                            <span>组织者已通过实名认证和背景审核</span>
                        </li>
                        <li class="mb-2 d-flex align-items-start gap-2">
                            <i class="fas fa-check-circle text-success mt-1"></i>
                            <span>建议活动前与组织者确认细节</span>
                        </li>
                        <li class="d-flex align-items-start gap-2">
                            <i class="fas fa-check-circle text-success mt-1"></i>
                            <span>首次见面选择公共场所，告知亲友行踪</span>
                        </li>
                    </ul>
                </div>
                
                <!-- 活动标签 -->
                <div class="card mb-6">
                    <div class="card-body">
                        <h3 class="section-title">活动标签</h3>
                        <div>
                            <span class="tag">户外活动</span>
                            <span class="tag">徒步</span>
                            <span class="tag">自然</span>
                            <span class="tag">上海</span>
                            <span class="tag">周末</span>
                            <span class="tag">新手友好</span>
                            <span class="tag">摄影</span>
                            <span class="tag">交友</span>
                        </div>
                    </div>
                </div>
                
                <!-- 平台安全保障 -->
                <div class="card">
                    <div class="card-body">
                        <h3 class="section-title">平台保障</h3>
                        <ul class="list-group list-group-flush">
                            <li class="list-group-item d-flex align-items-start gap-3">
                                <i class="fas fa-user-check text-primary mt-1"></i>
                                <div>
                                    <strong>实名认证</strong>
                                    <p class="text-sm text-light-text">所有用户均通过身份验证</p>
                                </div>
                            </li>
                            <li class="list-group-item d-flex align-items-start gap-3">
                                <i class="fas fa-shield text-primary mt-1"></i>
                                <div>
                                    <strong>安全保障</strong>
                                    <p class="text-sm text-light-text">活动全程安全监控</p>
                                </div>
                            </li>
                            <li class="list-group-item d-flex align-items-start gap-3">
                                <i class="fas fa-headphones text-primary mt-1"></i>
                                <div>
                                    <strong>客服支持</strong>
                                    <p class="text-sm text-light-text">7×12小时客服在线</p>
                                </div>
                            </li>
                            <li class="list-group-item d-flex align-items-start gap-3">
                                <i class="fas fa-flag text-primary mt-1"></i>
                                <div>
                                    <strong>举报机制</strong>
                                    <p class="text-sm text-light-text">快速处理违规行为</p>
                                </div>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 举报模态框 -->
    <div class="modal fade" id="reportModal" tabindex="-1" aria-hidden="true">
        <div class="modal-dialog modal-lg report-modal">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">举报活动</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">
                    <p class="mb-4">请选择举报原因（可多选）：</p>
                    
                    <div class="form-check mb-3">
                        <input class="form-check-input" type="checkbox" value="" id="report1">
                        <label class="form-check-label" for="report1">
                            虚假信息
                        </label>
                    </div>
                    <div class="form-check mb-3">
                        <input class="form-check-input" type="checkbox" value="" id="report2">
                        <label class="form-check-label" for="report2">
                            骚扰或不当内容
                        </label>
                    </div>
                    <div class="form-check mb-3">
                        <input class="form-check-input" type="checkbox" value="" id="report3">
                        <label class="form-check-label" for="report3">
                            垃圾信息或广告
                        </label>
                    </div>
                    <div class="form-check mb-3">
                        <input class="form-check-input" type="checkbox" value="" id="report4">
                        <label class="form-check-label" for="report4">
                            欺诈或诈骗嫌疑
                        </label>
                    </div>
                    <div class="form-check mb-3">
                        <input class="form-check-input" type="checkbox" value="" id="report5">
                        <label class="form-check-label" for="report5">
                            违反社区规定
                        </label>
                    </div>
                    <div class="form-check mb-4">
                        <input class="form-check-input" type="checkbox" value="" id="report6">
                        <label class="form-check-label" for="report6">
                            其他原因
                        </label>
                    </div>
                    
                    <div class="mb-4">
                        <label for="reportDetails" class="form-label">详细说明（可选）</label>
                        <textarea class="form-control" id="reportDetails" rows="4" placeholder="请详细描述您的举报原因，这将帮助我们更好地处理您的举报..."></textarea>
                    </div>
                    
                    <div class="form-check mb-2">
                        <input class="form-check-input" type="checkbox" value="" id="reportAnonymous">
                        <label class="form-check-label" for="reportAnonymous">
                            匿名举报
                        </label>
                    </div>
                    <p class="text-sm text-light-text">
                        举报信息将严格保密，我们会在24小时内处理您的举报并给予反馈。恶意举报将受到平台处罚。
                    </p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-outline-secondary" data-bs-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-danger">提交举报</button>
                </div>
            </div>
        </div>
    </div>

    <!-- 页脚 -->
    <footer class="bg-dark text-white py-8 mt-12">
        <div class="container">
            <div class="row">
                <div class="col-md-4 mb-6">
                    <h5 class="mb-3">安全社交平台</h5>
                    <p class="text-muted">专注于提供安全、可靠的社交环境，所有交友推荐均经过身份认证</p>
                    <div class="d-flex gap-3 mt-4">
                        <a href="#" class="text-white"><i class="fab fa-weibo fa-lg"></i></a>
                        <a href="#" class="text-white"><i class="fab fa-wechat fa-lg"></i></a>
                        <a href="#" class="text-white"><i class="fab fa-instagram fa-lg"></i></a>
                        <a href="#" class="text-white"><i class="fab fa-twitter fa-lg"></i></a>
                    </div>
                </div>
                <div class="col-md-2 mb-6">
                    <h5 class="mb-3">快速链接</h5>
                    <ul class="list-unstyled">
                        <li><a href="#" class="text-muted">首页</a></li>
                        <li><a href="#" class="text-muted">担保交友</a></li>
                        <li><a href="#" class="text-muted">兴趣群组</a></li>
                        <li><a href="#" class="text-muted">活动推荐</a></li>
                    </ul>
                </div>
                <div class="col-md-2 mb-6">
                    <h5 class="mb-3">安全中心</h5>
                    <ul class="list-unstyled">
                        <li><a href="#" class="text-muted">身份认证</a></li>
                        <li><a href="#" class="text-muted">安全指南</a></li>
                        <li><a href="#" class="text-muted">举报中心</a></li>
                        <li><a href="#" class="text-muted">隐私政策</a></li>
                    </ul>
                </div>
                <div class="col-md-4">
                    <h5 class="mb-3">发布担保交友</h5>
                    <p class="text-muted mb-3">成为认证用户，发布你的交友活动，认识更多志同道合的朋友</p>
                    <button class="btn btn-primary w-100">
                        <i class="fas fa-plus me-1"></i> 发布活动
                    </button>
                </div>
            </div>
            <div class="border-top border-gray-700 mt-6 pt-6 text-center text-muted">
                <p>&copy; 2023 安全社交平台 版权所有 | 致力于提供安全的社交环境</p>
            </div>
        </div>
    </footer>

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <!-- 图片查看器 -->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/js/lightbox.min.js"></script>
    
    <script>
        // 图片切换功能
        document.querySelectorAll('.gallery-img').forEach(img => {
            img.addEventListener('click', function() {
                // 更新主图
                const mainImage = document.getElementById('mainImage');
                mainImage.src = this.getAttribute('data-img');
                mainImage.alt = this.alt;
                
                // 更新活跃状态
                document.querySelectorAll('.gallery-img').forEach(i => {
                    i.classList.remove('active');
                });
                this.classList.add('active');
            });
        });
        
        // 收藏按钮切换
        document.querySelector('.like-btn').addEventListener('click', function() {
            this.classList.toggle('active');
            const icon = this.querySelector('i');
            
            if (this.classList.contains('active')) {
                icon.classList.remove('far');
                icon.classList.add('fas');
                this.innerHTML = '<i class="fas fa-heart me-1"></i>已收藏';
            } else {
                icon.classList.remove('fas');
                icon.classList.add('far');
                this.innerHTML = '<i class="far fa-heart me-1"></i>收藏';
            }
        });
        
        // 留言回复功能
        document.querySelectorAll('.reply-toggle').forEach(toggle => {
            toggle.addEventListener('click', function() {
                // 关闭所有其他回复框
                document.querySelectorAll('.reply-form').forEach(form => {
                    form.classList.add('d-none');
                });
                
                // 显示当前回复框
                const replyForm = this.closest('.message-item, .reply-item').querySelector('.reply-form');
                replyForm.classList.remove('d-none');
                replyForm.querySelector('textarea').focus();
            });
        });
        
        // 取消回复
        document.querySelectorAll('.cancel-reply').forEach(btn => {
            btn.addEventListener('click', function() {
                this.closest('.reply-form').classList.add('d-none');
            });
        });
        
        // 点击页面其他地方关闭回复框
        document.addEventListener('click', function(event) {
            if (!event.target.closest('.message-item') || event.target.closest('.reply-toggle')) {
                return;
            }
            
            if (!event.target.closest('.reply-form') && !event.target.closest('.reply-toggle')) {
                document.querySelectorAll('.reply-form').forEach(form => {
                    form.classList.add('d-none');
                });
            }
        });
        
        // 初始化图片查看器
        lightbox.option({
            'resizeDuration': 200,
            'wrapAround': true,
            'albumLabel': '图片 %1 / %2'
        });
    </script>
</body>
</html>
    
